IC card reader/writer

ABSTRACT

A shutter is provided near an IC card inserting port of an IC card reader/writer. Contact members adapted to be come into contact with the contacts of an IC card are provided for a member constructing the shutter. When the shutter is closed, the contact members are located at positions such that they can come into contact with the contacts of the IC card.

BACKGROUND OF THE INVENTION

The present invention relates to an IC card reader/writer for inputting(writing) or fetching (reading out) data into or from what is called anIC card including therein at least either one of a memory, a CPU, andvarious kinds of electronic circuits which are constructed as an IC(Integrated Circuit). In this specification, the IC card reader/writerincludes devices for writing data, devices for only for reading outdata, and devices for both writing and reading data.

A great number of IC cards are nowadays used as bank cards, credit cardsand the like. A plurality of (e.g., eight) contacts for datatransmission and reception are provided on the surface of the IC card.On the other hand, a connector having a plurality of contact membersadapted to be come into contact with the contacts of the IC card ismovably provided in the IC card reader/writer. When an IC card isconveyed into the IC card reader/writer by a conveying apparatus andstopped to a predetermined position, the contact members of theconnector approach and come into contact with the contacts of the ICcard, so that data can be transmitted and received between the IC cardreader/writer and the electronic circuits in the IC card.

On the other hand, in the IC card reader, a shutter needs to be providednear a card inserting port so as to prevent the IC card from being movedor pulled out during the reading/writing operation of the IC card.

However, in the conventional IC card reader, since the drive section ofthe connector and the drive section of the shutter are individuallyprovided, there are various problems such that the structure iscomplicated, the number of parts increases, and the cost and size alsoincrease.

Further, as is well known, as a format of the contacts, a plurality offormats such as U.S.A. format, JPN format, BULL format and the like(which will be practically explained hereinafter) are proposed. Theconventional IC card reader has a problem such that the reading/writingoperation can be performed for only a single format.

Particularly, in the IC card having a magnetic stripe and also having asa function as a magnetic card, the relations between the position of thecontacts and the position of the magnetic stripe all differ in theabove-mentioned several formats. Therefore, there is a problem such thata special arrangement of the magnetic head to magnetically write or readout data into/from the magnetic stripe and the connector adapted to become into contact with the contacts of the IC card must be designed inaccordance with each format.

SUMMARY OF THE INVENTION

It is an object of the present invention to provide an IC cardreader/writer having a simple structure.

According to the present invention, this object is accomplished by an ICcard reader/writer having an IC card conveying apparatus which extendsfrom an IC card inserting port of the IC card reader/writer to an insideof the IC card reader/writer, comprising: shutter means, provided nearthe IC card inserting port, for opening or closing the card insertingport; and drive means to open or close the shutter means, wherein theshutter means comprises a shutter portion to open or close the cardinserting port and a supporting portion, the supporting portion beingprovided with a connector having contact members adapted to come intocontact with contacts of an IC card, and when the shutter portion islocated at a position where the card inserting port is closed, theconnector is located at positions such that the contact members can become into contact with the contacts of the IC card.

According to the invention, since the opening or closing of the shutterand the moving operation of the connector can be accomplished by onedrive means, the structure is simplified and the number of parts alsodecreases, thereby contributing to the reduction of the cost and size.On the other hand, when the contact members of the connector are incontact with the contacts of the IC card, the shutter is closed. Thus,it is possible to prevent such an accident that the IC card is moved orpulled out during the reading/writing operation of the IC card.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1a to 1d show IC cards of various formats;

FIG. 2 is a plan view of an embodiment of the present invention;

FIG. 3 is a cross sectional view taken along the line III--III in FIG.2;

FIG. 4 is a cross sectional view taken along the line IV--IV in FIG. 2;

FIG. 5 is a block diagram showing an electrical arrangement of an ICcard reader/writer;

FIG. 6 is a flowchart showing the operation of the IC cardreader/writer;

FIG. 7 is a plan view of another embodiment;

FIG. 8 is a cross sectional view taken along the line VIII--VIII in FIG.7; and

FIG. 9 is a flowchart showing the operation of the IC cardreader/writer.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

FIGS. 1a to 1d are views of a plurality of MS (Magnetic Stripe)/IC cardsdisclosed in the ISO (International Organization for Standardization)standards. FIG. 1a shows a back surface of a card A₁ of the proposedU.S.A. format (the third format in ISO), in which a magnetic stripe B₁and an IC contact portion C₁ are provided on the back surface of thecard A₁ as shown in the diagram. FIG. 1b shows a back surface of a cardA₂ of the proposed BULL format (the first format in ISO) of France, inwhich an IC contact portion C₂ is provided on the opposite side (uppersurface side) in correspondence to a magnetic stripe B₂ provided on theback surface. FIG. 1c shows a back surface of a card A₃ of the proposedJPN format (the second format in ISO), in which a magnetic stripe B₃₂ ofthe JIS (Japanese Industrial Standard) II type and an IC contact portionC₃ are provided on the opposite side (upper surface side) incorrespondence to a magnetic stripe B₃₁ of the JIS I type provided onthe back surface so as to have the positional relation as shown in thediagram. FIG. 1d shows a surface of an IC card A₄ with a magnetic stripeof the JIS II type, in which the magnetic stripe B₃₂ of the JIS II typeand the IC contact portion C₃ are provided on the upper surface of thecard so as to have the positional relation as shown in the diagram. Adiscrimination regarding the upper or back surface of the card isperformed on the basis of, for instance, an emboss. The emboss is formedlike a projection on the upper surface and like a recess portion on theback surface. It is not always necessary to provide a magnetic stripe onthe IC card. Each of the contact portions C₁, C₂ and C₃ has a pluralityof (e.g., eight) contacts.

FIGS. 2 to 4 show a mechanical arrangement of the IC card reader/writer.

An inserting port assembly 11 is provided in a part (at the left end inthe diagram) of a frame 10 of the IC card reader/writer. An IC cardinserting port 12 is opened in the front edge portion of the assembly11. A short card-guide path 13 is provided in the assembly 11 from theinserting port 12 toward the frame 10. A sensor to detect whether theinserted card is a predetermined card or not on the basis of the widthof the inserted card, a sensor to check whether data has been recordedon a magnetic stripe of the card or not, and the like are provided onthe guide path 13. If the inserted card is determined to be a normalcard by those sensors, a shutter, which will be explained hereinafter,is opened.

An apparatus for conveying the inserted card is provided in the frame10. The card conveying apparatus includes an upper conveying belt 20 anda lower conveying belt 30. The belts 20 and 30 are provided at thealmost central position in the width direction of the frame 10. Theupper conveying belt 20 is reeved around pulleys 21 and 22. The lowerconveying belt 30 is reeved around pulleys 31 and 32. The pulley 21 isrotatably attached to a shaft 23 fixed to the frame 10. The pulley 22 isfixed to a rotating shaft 24 which is rotatably supported to the frame10. Likewise, the pulley 31 is rotatably attached to a shaft 33 fixed tothe frame 10. The pulley 32 is fixed to a rotating shaft 34 which isrotatably supported to the frame 10.

A small pulley 41 is fixed to an output shaft of a drive motor 40 fixedto the frame 10. On the other hand, a large pulley 43 and a middlepulley 44 are fixed to the rotating shaft 34 on the outside of the frame10. A belt 42 is reeved around the pulleys 41 and 43. Therefore, thelower conveying belt 30 is driven by the drive motor 40 through thepulley 41, belt 42, pulley 43, rotating shaft 34 and pulley 32.

On the other hand, a rotating shaft 49 is rotatably supported to theoutside of the frame 10. A pulley 46 and a gear 47 are fixed to therotating shaft 49. A belt 45 is reeved between the pulleys 46 and 44. Onthe outside of the frame 10, a gear 48 is fixed to the rotating shaft24. The gear 48 is come into engagement with the gear 47. Therefore, theupper conveying belt 20 is driven by the drive motor 40 synchronouslywith the lower conveying belt 30 through the rotating shaft 34, pulley44, belt 45, pulley 46, rotating shaft 49, gear 47, gear 48, rotatingshaft 24, and pulley 22. The IC card is sandwiched between the upper andlower conveying belts 20 and 30 and conveyed. By switching theforward/reverse rotation of the drive motor 40, the IC card can beconveyed from one end, i.e., the side of the inserting port 12 of theframe 10 toward the other end of the frame 10 (in the carrying-indirection) and in the opposite direction (ejecting direction).

It should be particularly noted that the upper and lower conveying belts20 and 30 are arranged so as to be deviated from each other in theconveying direction of the IC card. Thus, in one end portion on the sideof the IC card inserting port 12, a space 54 is formed over the lowerconveying belt 30 in the central portion in the width direction of theframe 10. In the other end portion in the frame 10, a space 55 is formedbelow the upper conveying belt 20 in the central portion in the widthdirection of the frame 10. A connector having a plurality of contactmembers adapted to respectively come into contact with the contacts ofthe contact portion of the IC card can be arranged in the spaces 54 and55, as will be explained hereinlater.

Means for holding the IC card are provided on the side of the spaces 54and 55. The holding means comprises a receiving roller and pressingroller.

That is, a receiving roller 35 and a pressing roller 26 are provided onthe side of the space portion 54. The receiving roller 35 is rotatablysupported to the shaft 33 and rotates together with the pulley 31 bybeing coupled with the pulley 31 by a pin (not shown). The pressingroller 26 is rotatably attached to a free end portion of a lever 27which is rotatably supported to the rotating shaft 24. The lever 27 ispressed by a spring (not shown), so that the pressing roller 26 comesinto pressure contact with the receiving roller 35.

In a manner similar to the above, a receiving roller and a pressingroller 36 are provided on the side of the space portion 55. Thereceiving roller 25 is rotatably attached to the shaft 23 and is rotatedtogether with the pulley 21 by being coupled with the pulley 21 by a pin25a. The pressing roller 36 is rotatably attached to a free end portionof a lever 37 which is rotatably attached to the rotating shaft 34.Since the lever 37 is pressed by a spring (not shown), the pressingroller 36 comes into pressure contact with the receiving roller 25.

In the embodiment shown in FIGS. 2 to 4, a connector 60 is provided inonly the space portion 54 near the card inserting port 12. As mentionedabove, the connector 60 holds a plurality of contact members 61 so as tobe mutually isolated. The connector 60 is attached and fixed to a swingsupporting plate 62 and the contact members 61 are directed to the lowerconveying belt 30. The swing supporting plate 62 has a lever portion 65extending downwardly from one end portion thereof. At a proper portionof the lever portion 65, the swing supporting plate 62 is swingablysupported by a fulcrum shaft 64 fixed to the frame 10. A leading portion63 serving as a shutter is integrally formed in the front edge portionof the swing supporting plate 62. The swing supporting plate 62 isdriven by a solenoid 69 attached to the frame 10. When the IC card isheld and positioned at a predetermined location between the upperconveying belt 20 and pressing roller 26, and the lower conveying belt30 and receiving roller 35, the swing supporting plate 62 is held to anattitude indicated by a solid line in FIG. 4. At this time, the contactmembers 61 of the connector 60 come into contact with the contacts ofthe positioned IC card and at the same time, the leading portion 63shuts off the passage between the card inserting port 12 and theconveying path between both of the upper and lower conveying belts 20and 30 (the shutter is closed). Further, a part of the lever 65 isdetected by a sensor 68. On the basis of a detection signal of thesensor 68, it is confirmed that the connector 60 is in contact with theIC card.

When the supporting plate 62 obliquely rises by the actuation of thesolenoid 69 as shown by an alternate long and short dash line in FIG. 4,the connector 60 is away from the IC card. The leading portion 63 isalso removed from the conveying path and the shutter is opened.

In the frame 10, a magnetic head 50 is arranged on one side on the wayof the conveying path of the IC card and fixed to the frame 10. Themagnetic head 50 reads out data recorded on the magnetic stripe of theIC card or writes data onto the magnetic stripe. Although not shown, apressing roller is disposed at a position which faces the magnetic head50. This pressing roller is pressed in the direction of the magnetichead 50. By sandwiching the IC card by the magnetic head 50 and thepressing roller, data can be stably and certainly read out or written bythe magnetic head 50.

Further, first, second and third sensors 51, 52 and 53 to detect the ICcard which is conveyed by the conveying apparatus are attached to oneend, a central position and the other end in the card conveyingdirection of the frame 10, respectively.

FIG. 5 shows an outline of an electrical arrangement of the IC cardreader/writer. The IC card reader/writer includes a CPU 80. The CPU 80has an ROM 81 in which a program is stored and an RAM 82 to storevarious data. The first to third sensors 51 to 53, sensor 68, connector60, motor 40 and solenoid 69 are connected to the CPU 80 through properinterfaces, respectively. As will be explained hereinafter, the CPU 80controls the motor 40 and solenoid 69 on the basis of detection signalsfrom the sensors 51 to 53 and the other sensors. On the other hand, theCPU 80 performs the reading/writing processes to write the data of theRAM 82 into the IC card and to store the data read out of the IC cardinto the RAM 82 through the connector 60.

The structure shown in FIGS. 2 to 4 can be applied to the IC cards A₁,A₃, and A₄ (hereinafter, the IC card is simply indicated at referencecharacter A) of the U.S.A. format and JPN format. In the case of usingthe IC card of the U.S.A. format, the back surface of the card facesupward and the card is inserted from the inserting port 12. In the caseof using the IC card of the JPN format, the upper surface faces upwardand the card is inserted from the inserting port 12.

The operation in the case where those IC cards are inserted,particularly, the processing procedure by the CPU 80 will now bedescribed with reference to FIG. 6.

It is now assumed that the swing supporting plate 62 is held to anattitude (referred to as an idle position) indicated by the alternatelong and short dash line in FIG. 4, that is, in the open state of theshutter.

When the IC card A is inserted into the inserting port 12 and the ICcard A is detected by the first sensor 51, the card conveying apparatusdriven by the motor 40 conveys the IC card A in the forward direction,that is, in the carrying-in direction (steps S11 and S12).

When the conveyed IC card A is detected by the second sensor 52, theconveyance of the card is stopped and the motor 40 is reversely rotatedto thereby convey the IC card A in the returning direction by the cardconveying apparatus (steps S13, S14 and S15).

In the case where data is read out from or written onto the magneticstripe of the IC card A by the magnetic head 50, the IC card is conveyedin the forward direction until the IC card A is detected by the thirdsensor 53 and the reading/writing operation may be performed by themagnetic head 50 in this conveying step. Thereafter, the IC card A isconveyed in the opposite direction until the IC card is detected by thefirst sensor 51.

When the first sonsor 51 again detects the card due to the conveyance ofthe IC card A in the ejecting (returning) direction, the conveyance ofthe card is stopped (steps S16 and S17). The swing supporting plate 62is rotated to the horizontal attitude shown by a solid line in FIG. 4 bythe solenoid 69. Thus, the shutter on the card inserting port side isclosed and the connector 60 is come into contact with the contactportion C of the IC card A (step S18).

Then, a pin check is executed (step S20). The pin check relates to thatthe CPU 80 executes the transmission and reception of check data withthe IC card through the contact members 61 of the connector 60. If thetransmission and reception of the check data are correctly performed,the pin check is OK. Thus, information is transmitted and receivedbetween the IC card A and the CPU 80 through the contact between thecontact members 61 of the connector 60 and the contacts of the contactportion C of the IC card A. That is, data is read out from and writeninto the IC card A.

If the pin check has not good, this means that the connector 60 is notcorrectly come into contact with the contact portion of the IC card.Such a defective contact occurs in the cases where an IC card of anotherformat, e.g., the BULL format was inserted, where an IC card of theU.S.A. or JPN format was inserted in a state such that the upper or backsurfaces were set to the attitude opposite of the correct attitude, andthe like.

In this case, the connector 60 is returned to the idle position and themotor 40 is reversely rotated, thereby returning the IC card to the cardinserting port 12 (step S22).

Since the shutter is commonly used as a supporting plate of theconnector, the number of parts can be reduced, the driving mechanism canbe simplified, and the IC card reader/writer can be miniaturized.

FIGS. 7 and 8 show another embodiment. The IC card reader/writer in thisembodiment enables the reading/writing operations of an IC card of theBULL format as well as the U.S.A. and JPN formats. In FIGS. 7 and 8, thesame parts and components as those shown in FIGS. 2 to 4 are designatedby the same reference numerals.

A swing supporting plate 72 is also provided in the space 55 and aconnector 70 having contact members 71 is attached and fixed to thesupporting plate 72. The supporting plate 72 and connector 70 arearranged at positions which are slightly deviated to the side so as tocorrespond to the contact portion C₂ of the IC card A₂ of the BULLformat. The connector 70 faces upwardly. The supporting plate 72 has alever portion 75 and is pivotally attached to a shaft 74. On the otherhand, a sensor 78 to detect the contact position of the connector 70 tothe contact portion is provided. The supporting plate 72 is driven by asolenoid 79. The supporting plate 72 is not provided with a portionserving as a shutter.

Although an electrical arrangement is fundamentally similar to thatshown in FIG. 5, the sensor 78 is connected to the CPU 80 and a solenoid79 is controlled by the CPU 80.

The IC card of the BULL format is inserted into the inserting port 12 ina state in which the back surface faces upward. The operation at thistime will now be described with reference to FIG. 9.

When the inserted IC card A is detected by the first sensor 51, the cardconveying apparatus conveys the IC card A by the motor 40 in the forwarddirection, namely, in the inserting direction. In this state, theshutter at the position of the card inserting port 12 is open (that is,the supporting plate 62 is located at the idle position). The supportingplate 72 and connector 70 are also located at the idle position (stepsS31 and S32).

When the IC card A conveyed is detected by the second sensor 52, theshutter (i.e., the supporting plate 62) on the card inserting port sideis rotated and the conveying path is shut off (the shutter is closed) bythe leading portion 63, thereby closing the card inserting port (stepsS33 and S34).

If necessary, the reading/writing process of the magnetic stripe isexecuted by the magnetic head 50 during the conveyance of the IC card.

Further, when the IC card A is detected by the third sensor 53, theconveyance of the card is stopped, the supporting plate 72 rotates, andthe connector 70 is come into contact with the contact portion C of theIC card A (steps S35 and S36).

The pin check is then performed. If the result of the pin check is OK,the reading/writing operation of the IC data is executed and theprocessing routine is finished (steps S38 and S39). If the result of thepin check is NG, the supporting plates 62 and 72 are returned to theidle position, the motor 40 is reversely rotated, the IC card isreturned, and the processing routine is finished (step S40).

In steps S34 to S39, the shutter (leading portion 63) closes the cardinserting port 12, thereby blocking the IC card in the IC card readerfrom being moved or pulled out due to the insertion of foreign matter orcard from the card inserting port.

In parallel with the connector 70 for the card of the BULL format,another connector can be also further arranged in the space 55 at theposition for use of the card of the U.S.A. or JPN format. With thisstructure, even if the IC card of the U.S.A. or JPN format is insertedin a state in which the upper and back surfaces are reversed, thereading/writing operation can be performed by either the new connectoror the connector 60 on the inserting port side.

Further, as shown by an alternate long and short dash line in FIG. 8, aninserting port assembly 11A can be also provided in the edge portion ofthe frame 10 on the side of the space 55. In this case, a leadingportion serving as a shutter is also provided for the supporting plate72. Moreover, as shown by an alternate long and short dash line 50A,another magnetic head may be also arranged.

Information of an IC card of the three kinds of U.S.A., BULL and JPNformats can be also processed by a single card reader/writer asmentioned above.

If the connector 70 and supporting plate 72 are eliminated, the cardreader/writer can be limited to the data process of the IC card of theU.S.A. or JPN format. If the connector 60 and supporting plate 62 areeliminated, the card reader/writer can be limited to the data process ofthe IC card of the BULL format. If the connectors 70 and 60 areeliminated, the card reader/writer can be used as only a reader/writerof the magnetic card.

On the contrary, if only the magnetic head 50 is eliminated, the cardreader/writer can be used as the reader/writer of the IC card having nomagnetic stripe.

Therefore, various kinds of card readers/writers can be manufactured byselectively using the magnetic head and connectors while the structureof the main body is commonly used.

What is claimed is:
 1. An IC card reader/writer comprising:an IC cardinserting port: an IC card conveying apparatus extending from said ICcard inserting port to an inside of the IC card reader/writer; a firstconnector having contact members and disposed near one end of said ICcard conveying apparatus, the first connector being adapted toelectrically connect with an IC card of first kind of format; and asecond connector having contact members and disposed near other end ofsaid IC card conveying apparatus, the second connector being adapted toelectrically connect with an IC card of second kind of format.
 2. An ICcard reader/writer as defined in claim 1, further comprising:shuttermeans, provided near the IC card inserting port, for opening or closingthe card inserting port; and drive means to open or close said shuttermeans, wherein said shutter means comprises a shutter portion to open orclose said card inserting port and a supporting portion, said supportingportion is provided with said first connector, and when said shutterportion is located at a position where said card inserting port isclosed, said first connector is located as positions such that saidcontact members can come into contact with contacts of the IC card. 3.An IC card reader/writer as defined in claim 1, further comprising;ananother IC card inserting port to which IC card conveying apparatusextends at said other end thereof.